package usbcali.edu.dataaccess.dao;

import usbcali.edu.persistencia.Cargos;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * Interface for CargosDAO.
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface ICargosDAO {
    public void save(Cargos instance);

    public void delete(Cargos instance);

    public void update(Cargos instance);

    public Cargos findById(String id);

    public List<Cargos> findByExample(Cargos instance);

    public List<Cargos> findByProperty(String propertyName, Object value);

    public List<Cargos> findAll();

    public List<Cargos> findByCriteria(String whereCondition);

    public List<Cargos> findPageCargos(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberCargos();

    public List<Cargos> findByCodCargo(Object codCargo);
}
